package com.example.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
@ApiModel(value="Role对象", description="角色列表")
public class Role {
	@ApiModelProperty(value = "ID主键")
	private Integer id;   //id
	@ApiModelProperty(value = "角色编码")
	private String roleCode; //角色编码
	@ApiModelProperty(value = "角色名称")
	private String roleName; //角色名称
	@ApiModelProperty(value = "创建者")
	private Integer createdBy; //创建者
	@ApiModelProperty(value = "创建时间")
	private Date creationDate; //创建时间
	@ApiModelProperty(value = "更新者")
	private Integer modifyBy; //更新者
	@ApiModelProperty(value = "更新时间")
	private Date modifyDate;//更新时间

}
